/*
 * Color.cpp
 *
 *  Created on: 27/09/2009
 *      Author: ale
 */

#include "Color.h"

Color::Color(float r,float g,float b){
	this->rgb[0] = r;
	this->rgb[1] = g;
	this->rgb[2] = b;
}
Color::Color(const Color& otro){
		for(int i=0;i<3;i++)
			this->rgb[i] = otro.rgb[i];
}
Color::~Color() {}

float Color::r(){return rgb[0];}

float Color::g(){return rgb[1];}

float Color::b(){return rgb[2];}
